import clsx from 'clsx'

export function Logo({
  className,
  ...props
}: React.ComponentPropsWithoutRef<'svg'>) {
  return (
    <svg
      className={clsx('text-gray-800 dark:text-white', className)}
      aria-hidden="true"
      viewBox="0 0 287 50"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <g clipPath="url(#clip0_208_1322)">
        <path
          fillRule="evenodd"
          clipRule="evenodd"
          d="M2.31955 30.6146L6.68961 34.9885L31.167 10.5019L21.6891 1.02051L2.3216 20.4057C1.65084 21.0756 1.11864 21.8711 0.755472 22.7469C0.3923 23.6227 0.20527 24.5616 0.205078 25.5098C0.204887 26.4579 0.391539 27.3968 0.754358 28.2728C1.11718 29.1488 1.64905 29.9446 2.31955 30.6146Z"
          fill="#061499"
        />
        <path
          fillRule="evenodd"
          clipRule="evenodd"
          d="M41.23 30.4525C41.1754 30.5108 41.1198 30.5683 41.0631 30.6252L36.7584 34.9316L36.7303 34.9597L21.6955 50L17.3234 45.6282C16.6531 44.9584 16.1214 44.1628 15.7585 43.287C15.3957 42.4114 15.209 41.4728 15.209 40.5248C15.209 39.5769 15.3957 38.6382 15.7585 37.7626C16.1214 36.887 16.6531 36.0914 17.3234 35.4214L27.2578 25.4886L17.3523 15.5848C16.6826 14.9149 16.1514 14.1196 15.7889 13.2443C15.4264 12.369 15.2399 11.4308 15.2399 10.4834C15.2399 9.53599 15.4264 8.59783 15.7889 7.72253C16.1514 6.84723 16.6826 6.05192 17.3523 5.38203L21.7245 1L41.0919 20.3852C42.4451 21.7369 43.2059 23.571 43.2076 25.4839C43.209 27.3347 42.4994 29.1128 41.23 30.4525Z"
          fill="#2C40F7"
        />
      </g>
      <path
        d="M87.4014 39.709H94.9628V12.4879H87.4014V39.709Z"
        fill="currentColor"
      />
      <path
        d="M103.993 4.44043V12.4879H98.7536V18.7531H103.993V29.8252C103.993 36.1444 108.043 39.709 114.309 39.709H118.791V33.3898H115.335C112.904 33.3898 111.5 32.1476 111.5 29.5011V18.7531H118.791V12.4879H111.5V4.44043H103.993Z"
        fill="currentColor"
      />
      <path
        d="M140.291 18.7531V12.4879H137.212C133.918 12.4879 131.865 13.6221 130.407 17.0248V12.4879H122.845V39.709H130.407V26.4766C130.407 21.8317 132.081 18.7531 135.808 18.7531H140.291Z"
        fill="currentColor"
      />
      <path
        d="M143.785 39.709H151.346V12.4879H143.785V39.709Z"
        fill="currentColor"
      />
      <path
        d="M169.504 40.1411C176.579 40.1411 182.196 35.6043 183.006 29.5551H175.337C174.797 31.9856 172.582 33.6599 169.828 33.6599C165.723 33.6599 163.293 30.5273 163.293 26.0985C163.293 21.6697 165.669 18.4831 169.72 18.4831C172.474 18.4831 174.797 20.2654 175.229 22.6958H182.79C182.304 16.3767 176.633 12.0559 169.504 12.0559C161.078 12.0559 155.461 18.159 155.461 26.0985C155.461 34.038 161.078 40.1411 169.504 40.1411Z"
        fill="currentColor"
      />
      <path
        d="M147.566 0.659668C149.758 0.659668 151.563 2.43698 151.563 4.62941C151.563 6.82184 149.758 8.59915 147.566 8.59915C145.373 8.59915 143.569 6.82184 143.569 4.62941C143.569 2.43698 145.373 0.659668 147.566 0.659668Z"
        fill="currentColor"
      />
      <path
        d="M91.1823 0.659668C93.3747 0.659668 95.179 2.43698 95.179 4.62941C95.179 6.82184 93.3747 8.59915 91.1823 8.59915C88.9899 8.59915 87.1855 6.82184 87.1855 4.62941C87.1855 2.43698 88.9899 0.659668 91.1823 0.659668Z"
        fill="currentColor"
      />
      <path
        d="M57.0625 39.709H64.6239V24.8022C64.6239 21.2916 66.9463 18.7531 70.241 18.7531C73.3736 18.7531 75.4799 21.1295 75.4799 24.4242V39.709H83.0414V22.7498C83.0414 16.4847 78.5395 11.7686 70.0146 11.7686C61.4897 11.7686 57.2785 17.3006 57.2785 22.7498L57.0625 39.709Z"
        fill="currentColor"
      />
      <path
        d="M202.559 35.112V31.416H206.787C207.851 31.416 208.794 31.2573 209.615 30.94C210.455 30.604 211.164 30.1373 211.743 29.54C212.322 28.9427 212.76 28.2427 213.059 27.44C213.376 26.6187 213.535 25.7133 213.535 24.724C213.535 23.6973 213.376 22.7827 213.059 21.98C212.76 21.1587 212.322 20.4587 211.743 19.88C211.164 19.3013 210.455 18.8627 209.615 18.564C208.794 18.2653 207.851 18.116 206.787 18.116H202.559V14.42H206.535C208.383 14.42 209.998 14.6907 211.379 15.232C212.76 15.7733 213.908 16.52 214.823 17.472C215.738 18.4053 216.419 19.4787 216.867 20.692C217.334 21.8867 217.567 23.128 217.567 24.416V25.032C217.567 26.264 217.334 27.4773 216.867 28.672C216.419 29.8667 215.738 30.9493 214.823 31.92C213.908 32.8907 212.76 33.6653 211.379 34.244C209.998 34.8227 208.383 35.112 206.535 35.112H202.559ZM199.143 35.112V14.42H203.119V35.112H199.143ZM230.171 35.532C228.323 35.532 226.718 35.2053 225.355 34.552C224.011 33.8987 222.891 33.0493 221.995 32.004C221.118 30.94 220.455 29.8013 220.007 28.588C219.578 27.356 219.363 26.1707 219.363 25.032V24.416C219.363 23.1653 219.587 21.924 220.035 20.692C220.483 19.4413 221.155 18.312 222.051 17.304C222.966 16.296 224.095 15.4933 225.439 14.896C226.783 14.28 228.361 13.972 230.171 13.972C231.963 13.972 233.531 14.28 234.875 14.896C236.219 15.4933 237.339 16.296 238.235 17.304C239.15 18.312 239.831 19.4413 240.279 20.692C240.727 21.924 240.951 23.1653 240.951 24.416V25.032C240.951 26.1707 240.727 27.356 240.279 28.588C239.85 29.8013 239.187 30.94 238.291 32.004C237.414 33.0493 236.294 33.8987 234.931 34.552C233.587 35.2053 232.001 35.532 230.171 35.532ZM230.171 31.836C231.217 31.836 232.15 31.6493 232.971 31.276C233.811 30.9027 234.521 30.3893 235.099 29.736C235.697 29.064 236.145 28.308 236.443 27.468C236.761 26.6093 236.919 25.704 236.919 24.752C236.919 23.7253 236.761 22.7827 236.443 21.924C236.145 21.0653 235.697 20.3187 235.099 19.684C234.521 19.0493 233.811 18.5547 232.971 18.2C232.131 17.8453 231.198 17.668 230.171 17.668C229.126 17.668 228.183 17.8453 227.343 18.2C226.503 18.5547 225.785 19.0493 225.187 19.684C224.609 20.3187 224.161 21.0653 223.843 21.924C223.545 22.7827 223.395 23.7253 223.395 24.752C223.395 25.704 223.545 26.6093 223.843 27.468C224.161 28.308 224.609 29.064 225.187 29.736C225.785 30.3893 226.503 30.9027 227.343 31.276C228.183 31.6493 229.126 31.836 230.171 31.836ZM253.446 35.532C251.598 35.532 250.011 35.2053 248.686 34.552C247.361 33.8987 246.278 33.0493 245.438 32.004C244.617 30.9587 244.01 29.82 243.618 28.588C243.226 27.356 243.03 26.1707 243.03 25.032V24.416C243.03 23.1467 243.226 21.896 243.618 20.664C244.029 19.432 244.654 18.312 245.494 17.304C246.334 16.296 247.398 15.4933 248.686 14.896C249.993 14.28 251.533 13.972 253.306 13.972C255.154 13.972 256.759 14.308 258.122 14.98C259.503 15.6333 260.605 16.5667 261.426 17.78C262.247 18.9747 262.742 20.3747 262.91 21.98H258.906C258.757 21.0467 258.421 20.2627 257.898 19.628C257.394 18.9747 256.75 18.4893 255.966 18.172C255.182 17.836 254.295 17.668 253.306 17.668C252.298 17.668 251.402 17.8453 250.618 18.2C249.834 18.536 249.181 19.0213 248.658 19.656C248.135 20.2907 247.734 21.0373 247.454 21.896C247.193 22.7547 247.062 23.7067 247.062 24.752C247.062 25.76 247.193 26.6933 247.454 27.552C247.734 28.4107 248.145 29.1667 248.686 29.82C249.227 30.4547 249.89 30.9493 250.674 31.304C251.477 31.6587 252.401 31.836 253.446 31.836C254.977 31.836 256.265 31.4627 257.31 30.716C258.374 29.9507 259.018 28.8867 259.242 27.524H263.246C263.059 28.98 262.565 30.3147 261.762 31.528C260.959 32.7413 259.858 33.712 258.458 34.44C257.058 35.168 255.387 35.532 253.446 35.532ZM273.013 35.532C271.203 35.532 269.672 35.2427 268.421 34.664C267.189 34.0853 266.247 33.292 265.593 32.284C264.94 31.2573 264.613 30.1 264.613 28.812H268.505C268.505 29.3533 268.655 29.8853 268.953 30.408C269.252 30.912 269.728 31.3227 270.381 31.64C271.053 31.9573 271.931 32.116 273.013 32.116C273.984 32.116 274.796 31.976 275.449 31.696C276.103 31.416 276.588 31.052 276.905 30.604C277.223 30.1373 277.381 29.6147 277.381 29.036C277.381 28.308 277.073 27.7293 276.457 27.3C275.841 26.852 274.889 26.572 273.601 26.46L271.809 26.32C269.849 26.152 268.281 25.5453 267.105 24.5C265.948 23.436 265.369 22.036 265.369 20.3C265.369 18.9933 265.677 17.8733 266.293 16.94C266.909 15.988 267.768 15.26 268.869 14.756C269.989 14.2333 271.296 13.972 272.789 13.972C274.339 13.972 275.673 14.2427 276.793 14.784C277.913 15.3253 278.781 16.0907 279.397 17.08C280.013 18.0507 280.321 19.1987 280.321 20.524H276.429C276.429 19.964 276.289 19.4507 276.009 18.984C275.748 18.4987 275.347 18.116 274.805 17.836C274.283 17.5373 273.611 17.388 272.789 17.388C272.005 17.388 271.352 17.5187 270.829 17.78C270.307 18.0413 269.915 18.396 269.653 18.844C269.392 19.292 269.261 19.7773 269.261 20.3C269.261 20.9347 269.495 21.4947 269.961 21.98C270.428 22.4467 271.165 22.7173 272.173 22.792L273.965 22.96C275.421 23.072 276.7 23.38 277.801 23.884C278.903 24.388 279.752 25.0693 280.349 25.928C280.965 26.7867 281.273 27.8227 281.273 29.036C281.273 30.324 280.937 31.4627 280.265 32.452C279.593 33.4227 278.632 34.1787 277.381 34.72C276.149 35.2613 274.693 35.532 273.013 35.532Z"
        fill="#2C40F7"
      />
      <defs>
        <clipPath id="clip0_208_1322">
          <rect
            width="43.211"
            height="49"
            fill="currentColor"
            transform="translate(0 1)"
          />
        </clipPath>
      </defs>
    </svg>
  )
}
